package com.spring.campus_express_delivery.service;

import com.spring.campus_express_delivery.entity.ExpressCompany;
import com.spring.campus_express_delivery.entity.ExpressType;
import com.spring.campus_express_delivery.entity.PageBean;

public interface ExpressTypeService {

    //取件地址列表
    PageBean<ExpressType> selectExpressWeightTypeByPage(int size, int page, String sort, String asc);
    //统计数目
    int selectCountByExpressWeightType();

    void insertExpressWeightType(ExpressType expressType);

    ExpressType selectByExpressWeightId(int id);

    void updateExpressWeightType(ExpressType expressType);

    void deleteExpressWeightById(Integer id);

    ExpressType selectByExpressWeightType(String expressWeightType);


//    //根据订单重量类型查询订单类型编号
//    ExpressType selectExpressWeightType(String expressWeightType);
//    //根据快递取件地址查询订单类型编号
//    ExpressType selectOrdersByOutAddress(String outAddress);
//    //根据快递取件地址查询订单类型编号
//    ExpressType selectOrdersByServiceAddress(String serviceAddress);
}
